#!/usr/bin/perl
##########################################################################################################
## Author: Kjell R. Kjørstad                                                                            ##
## E-mail: kjell@kolug.org - for questions or comments.                                                 ##
## File: This is the chanKeeper config file.								##
## Purpose: Provide needed configuration parameters for the chanKeeper BOT. 				##
##													##
##													##
## 													##
##       												##
##           												##
## NOTE: If you do changes to existing code in any way, or have other comments an e-mail would be       ##
##	 highly appreciated.          	                        					##
## 													## 
## License:												##
##       This file is part of chanKeeper.								##
##													##
##       chanKeeper is free software: you can redistribute it and/or modify				##
##       it under the terms of the GNU General Public License as published by				##
##       the Free Software Foundation, either version 3 of the License, or				##
##       (at your option) any later version.								##
##													##
##       chanKeeper is distributed in the hope that it will be useful,					##
##       but WITHOUT ANY WARRANTY; without even the implied warranty of					##
##       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the					##
##       GNU General Public License for more details.							##
##   													##
##       You should have received a copy of the GNU General Public License				##
##       along with chanKeeper.  If not, see <http://www.gnu.org/licenses/>.				##
## 													##
## Copyright: Copyright © 2009, Kjell R. Kjørstad							##
##                                                                                                      ##
##########################################################################################################

use base 'Exporter';


#Bot config.
our $botnick = 'chanKeeper';      		                                              #BOT Nickname.
our $botusername = 'chankeeper';                                                              #BOT username, ie: ~chankeeper@hostname.no
our $botserver = 'irc.freenode.org';	                                                      #Server IP/URL.
our $botport = '6667'; 			                                                      #Server port.
our $ssl     = '1';			                                                      #Enable(1)/Disable(0) SSL.
our $chan = '#KoLUG'; 			                                                      #Which channel to join, only support for one channel since the functionality will be usefull for few people.
our $cmode = '+t+n'; 			                                                      #Supports all channelmodes that are RFC1459-compliant. +t = Protect topic(only ops may change), +i = invite only, +n = No outside message. For further help read RFC.
our $diemsg = 'chanKeeper - written by Kjell R. Kjørstad says byebye...';                     #Text to use as quit message when initating !die.

#Log parameters.
our $logdir 		= "botlogs/";	#Which directory to logg to.
our $enable_private_log = '1';		#Enable(1)/Disable(0) log of private conversations between bot and users.
our $enable_public_log  = '1';		#Enable(1)/Disable(0) log of public channel.
our $logsort            = '1';		#Enable(1)/Disable(0) wether or not to split up log files into more files, like 1 file for each day.

#Misc.
our $comchar = 'C';                             #Command character, the character you will place before your command. ie !voice, -voice, .voice.
our $botmaster	      = 'Name <email>';		#Name of person responsible for bot and database.
our $defaultuserpass   = 'temp';		#Default temporary password.
our $output 	      = '0'; 		        #Enable(1)/Disable(0) output to shell. - There will be little use for this usually.
our $useless_greetings = '0'; 		        #Enable(1)/Disable(0) useless greetings, like bot thanking user for op and so on.
our $debug             = '0';                   #Enable(1)/Disable(0) debugging.
